package com.qf.pojo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class WorkerOrder {
    private Long id;
    @NotNull(message = "项目无id")
    private Long projectId;
    @NotBlank(message = "执行人不能为空")
    private String executor;
    @NotBlank(message = "任务描述不能为空")
    private String descript;
    @NotNull(message = "工单级别不能为空")
    private Long orderLevel;
    private Date createDate;
    private String projectName;
}
